package com.example.stray_animal_management_system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @description:
 * @author: panpan
 * @time: 2025/10/26
 */
@Data
@TableName("animal")
public class Animal {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String species;
    private String gender;
    private String breed;
    private String age;
    private String color;
    private String photo;
    private Integer status; // 0待领养 1已领养 2审核中
    private LocalDateTime rescueTime;
    private String location;
    private String description;
    private LocalDateTime createTime;
}
